package designPattern.PipelinePattern2;

/**
 * @author jiangwz
 * @create 2019/10/30.
 */
public class Main {

    public static void main(String[] args){

        StrPipeline strPipeline = new StrPipeline();

        strPipeline.addLast(new Str1Handler());
        strPipeline.addLast(new Str2Handler());

        strPipeline.doWork("ok123");
    }
}
